<?php $this->_extends('../_layouts/default_layout')?>
<?php $this->_block('contents')?>
<table class="list_table" width="50%">
<tr>
	<th>名称</th>
	<th>创建人</th>
	<th width="140">创建时间</th>
	<th width="70">操作</th>
</tr>
<?foreach ($template as $t):?>
<tr>
	<td><?=$t['name']?></td>
	<td><?=$t['user_name']?></td>
	<td><?=$t['create_time']?></td>
	<td>
		<a href="<?=url('Services::MessageTemplate/Edit', array('id' => $t['id']))?>">编辑</a>&nbsp;
	</td>
</tr>
<?endforeach;?>
</table>
<?=$page?>
<?php $this->_endblock()?>